			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;
		
namespace ARR.Entities
{
	[DataContract]
	[Serializable]	
	public partial class GeneralComment : EntityBase
	{
		[DataMember]
		private GeneralCommentRow row;
		
		public GeneralComment(GeneralCommentRow row)
		{
			this.row = row;
		}
		
		public GeneralComment()
		{
			this.row = new GeneralCommentRow();
		}
		
		[DataMember]
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		[DataMember]
		public int RangeReviewId
		{
			get { return row.RangeReviewId; }
			set { row.RangeReviewId = value; }
		}

		[DataMember]
		public string ReportType
		{
			get { return row.ReportType; }
			set { row.ReportType = value; }
		}

		[DataMember]
		public int Page
		{
			get { return row.Page; }
			set { row.Page = value; }
		}

		[DataMember]
		public string PageTitle
		{
			get { return row.PageTitle; }
			set { row.PageTitle = value; }
		}

		[DataMember]
		public string PageSubtitle1
		{
			get { return row.PageSubtitle1; }
			set { row.PageSubtitle1 = value; }
		}

		[DataMember]
		public string PageSubtitle2
		{
			get { return row.PageSubtitle2; }
			set { row.PageSubtitle2 = value; }
		}

		[DataMember]
		public string Section
		{
			get { return row.Section; }
			set { row.Section = value; }
		}

		[DataMember]
		public string Comment
		{
			get { return row.Comment; }
			set { row.Comment = value; }
		}

		[DataMember]
		public byte[] Pdf
		{
			get { return row.Pdf; }
			set { row.Pdf = value; }
		}

		[DataMember]
		public int? CategoryId
		{
			get { return row.CategoryId; }
			set { row.CategoryId = value; }
		}

		
		public GeneralCommentRow GetRow()
        {
            return row;
        }
		
	} 
} 
